
import request from '@/utils/request'
//获取群聊任务详细
export function getPlaza(params) {
  return request({
    url: '/Plaza/get/Plaza',
    method: 'post',
    data:params
  })
}
//删除群聊任务
export function deletePlaza(id) {
  return request({
    url: `/Plaza/delete/Plaza/${id}`,
    method: 'post',
  })
}
//新增群聊任务
export function insertPlaza(params) {
  return request({
    url: `/Plaza/insert/Plaza`,
    method: 'post',
    data:params
  })
}
//修改群聊任务
export function updatePlaza(params) {
  return request({
    url: `/Plaza/update/Plaza`,
    method: 'post',
    data:params
  })
}
